<template>
  <div class="flex m-10 flex-col text-lg leading-8 font-bold">
    <div>用户名：{{user.name}}</div>
    <div>账号：{{user.username}}</div>
    <div>邮箱：{{user.email}}</div>
    <div>电话：{{user.tel}}</div>
    <div>创建时间：{{user.update_time}}</div>
  </div>
</template>

<script>
export default {
  data(){
    return{
      user: {}
    }
  },
  mounted(){
    this.user = JSON.parse(sessionStorage.getItem("userInfo"))
  }
}
</script>

<style>

</style>